﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Smart.Admin.Domain.Model.Response.Department
{
    public class TreeDepartmentResponse
    {
        /// <summary>
        /// 部门
        /// </summary>
        public long DepartmentId
        {
            get;
            set;
        }

        /// <summary>
        /// 部门名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 部门负责人id
        /// </summary>
        public long ManagerId { get; set; }


        /// <summary>
        /// 部门负责人名称
        /// </summary>
        public string ManagerName { get; set; }

        /// <summary>
        /// 部门的父级id
        /// </summary>
        public long ParentId { get; set; }

        /// <summary>
        /// 部门排序
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public System.DateTime CreateTime
        {
            get;
            set;
        }

        /// <summary>
        /// 下级
        /// </summary>
        public List<TreeDepartmentResponse> Children { get; set; }

    }
}
